https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1226
GVariant* variant;
guint num_children, i;
- proxy = _shell_global_get_switcheroo_control (global);
+ proxy = shell_global_get_switcheroo_control (global);
if (!proxy)
{
g_warning ("Could not apply discrete GPU environment, switcheroo-control not available");
}
/**
- * _shell_global_get_switcheroo_control: (skip)
+ * shell_global_get_switcheroo_control:
* @global: A #ShellGlobal
*
* Get the global #GDBusProxy instance for the switcheroo-control
* or %NULL on error.
*/
GDBusProxy *
-_shell_global_get_switcheroo_control (ShellGlobal *global)
+shell_global_get_switcheroo_control (ShellGlobal *global)
{
return global->switcheroo_control;
}
void shell_global_sync_pointer (ShellGlobal *global);
GDBusProxy *
- _shell_global_get_switcheroo_control (ShellGlobal *global);
+ shell_global_get_switcheroo_control (ShellGlobal *global);
GAppLaunchContext *
shell_global_create_app_launch_context (ShellGlobal *global,